renamed rails project to Avalanche2

jamesperet 10 years ago
parent
commit
c579b5d55b

+ 4 - 0
Gemfile

@@ -65,6 +65,10 @@ gem 'redis'
65 65
 gem 'resque', '~> 1.22.0', :require => "resque/server"
66 66
 gem 'mixpanel-ruby'
67 67
 
68
+group :development do
69
+  gem "rename"
70
+end
71
+
68 72
 group :test do
69 73
   gem "rspec"
70 74
   gem "rspec-rails"

+ 3 - 0
Gemfile.lock

@@ -202,6 +202,8 @@ GEM
202 202
     redis-namespace (1.5.1)
203 203
       redis (~> 3.0, >= 3.0.4)
204 204
     ref (1.0.5)
205
+    rename (1.0.2)
206
+      rails (>= 3.0.0)
205 207
     resque (1.22.0)
206 208
       multi_json (~> 1.0)
207 209
       redis-namespace (~> 1.0)
@@ -323,6 +325,7 @@ DEPENDENCIES
323 325
   rails_12factor
324 326
   redcarpet
325 327
   redis
328
+  rename
326 329
   resque (~> 1.22.0)
327 330
   rspec
328 331
   rspec-rails

+ 1 - 1
Rakefile

@@ -3,4 +3,4 @@
3 3
 
4 4
 require File.expand_path('../config/application', __FILE__)
5 5
 
6
-RailsWebsiteTemplate::Application.load_tasks
6
+Avalanche2::Application.load_tasks

+ 1 - 1
config/application.rb

@@ -7,7 +7,7 @@ require 'rails/all'
7 7
 # you've limited to :test, :development, or :production.
8 8
 Bundler.require(*Rails.groups)
9 9
 
10
-module RailsWebsiteTemplate
10
+module Avalanche2
11 11
   class Application < Rails::Application
12 12
     # Settings in config/environments/* take precedence over those specified here.
13 13
     # Application configuration should go into files in config/initializers

+ 1 - 1
config/environment.rb

@@ -2,4 +2,4 @@
2 2
 require File.expand_path('../application', __FILE__)
3 3
 
4 4
 # Initialize the Rails application.
5
-RailsWebsiteTemplate::Application.initialize!
5
+Avalanche2::Application.initialize!

+ 1 - 1
config/environments/development.rb

@@ -1,4 +1,4 @@
1
-RailsWebsiteTemplate::Application.configure do
1
+Avalanche2::Application.configure do
2 2
   # Settings specified here will take precedence over those in config/application.rb.
3 3
 
4 4
   # In the development environment your application's code is reloaded on

+ 1 - 1
config/environments/production.rb

@@ -1,4 +1,4 @@
1
-RailsWebsiteTemplate::Application.configure do
1
+Avalanche2::Application.configure do
2 2
   # Settings specified here will take precedence over those in config/application.rb.
3 3
 
4 4
   # Code is not reloaded between requests.

+ 1 - 1
config/environments/test.rb

@@ -1,4 +1,4 @@
1
-RailsWebsiteTemplate::Application.configure do
1
+Avalanche2::Application.configure do
2 2
   # Settings specified here will take precedence over those in config/application.rb.
3 3
 
4 4
   # The test environment is used exclusively to run your application's

+ 1 - 1
config/initializers/secret_token.rb

@@ -9,4 +9,4 @@
9 9
 
10 10
 # Make sure your secret_key_base is kept private
11 11
 # if you're sharing your code publicly.
12
-RailsWebsiteTemplate::Application.config.secret_key_base = ENV["SECRET_KEY_BASE"]
12
+Avalanche2::Application.config.secret_key_base = ENV["SECRET_KEY_BASE"]

+ 2 - 2
config/initializers/session_store.rb

@@ -1,5 +1,5 @@
1 1
 # Be sure to restart your server when you modify this file.
2 2
 
3
-RailsWebsiteTemplate::Application.config.session_store :cookie_store, key: '_rails_website_template_session'
3
+Avalanche2::Application.config.session_store :cookie_store, key: '_avalanche2_session'
4 4
 
5
-# RailsWebsiteTemplate::Application.config.session_store :cookie_store, key: '_rails_website_template_session', expire_after: 7.days, domain: { test: AppConfig.host_name }.fetch(Rails.env.to_sym, :all)
5
+# Avalanche2::Application.config.session_store :cookie_store, key: '_rails_website_template_session', expire_after: 7.days, domain: { test: AppConfig.host_name }.fetch(Rails.env.to_sym, :all)

+ 1 - 1
config/routes.rb

@@ -1,4 +1,4 @@
1
-RailsWebsiteTemplate::Application.routes.draw do
1
+Avalanche2::Application.routes.draw do
2 2
   
3 3
   root 'start#index'
4 4